<template>
  <div>
    <button @click="fn">点我</button>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'
const fn = (e: Event) => {
  console.log((e.target as HTMLButtonElement ))
}
</script>

<style lang="scss" scoped></style>
